#import <Foundation/Foundation.h>
#import "SEGIntegralBehaviorModel.h"
#import "SEGLevelDeatailModel.h"

#define SEGIbeaconShowTipsUserDefaults @"SEGIbeaconShowTipsUserDefaults"

@interface SEGAnalyseBehaviorManager : NSObject
#pragma mark - SINGLE----BEGIN----
+(instancetype)sharedManager;//创建单例
+(void)destroyResource;//销毁单例
#pragma mark - SINGLE----END----

#pragma mark - HTTP----BEGIN----
/**
 根据业务计算成长值，积分
 @author Sam
 */
- (void)requestIntegralGrowthWithCode:(NSString*)code finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/// 根据业务计算成长值，积分
/// @param code 积分行为
/// @param module 所属模块
/// @param businessID 对应详情ID
/// @param finished finished
- (void)requestIntegralGrowthWithCode:(NSString*)code module:(NSString *)module businessID:(NSString *)businessID finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/// 根据用户ID获取用户等级，成长值
- (void)requestIntegralLeveluserIds:(NSString*)userIds finished:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;

/// 积分抢兑的接口
- (void)requestIntegralEexchangeDataWithFinish:(void(^)(BOOL isSuccessed,id result,NSString* codeType,NSString* errorMessage))finished;
#pragma mark - HTTP----END----

#pragma mark - SOURCE----BEGIN----

#pragma mark - SOURCE----END----
@end
